from app import app, db
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from flask_frozen import Freezer

manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command("db", MigrateCommand)
freezer = Freezer(app)
@manager.command
def test():
    print("test")

@manager.command
def build():
    freezer.freeze()

if __name__ == "__main__":
    manager.run()